package cn.sumpu.app.guoguojie.dao;

import java.util.List;
import java.util.Map;

import cn.sumpu.app.guoguojie.domain.Tag;
import cn.sumpu.app.guoguojie.exception.AppBusinessException;

public interface TagDao {
	
	public void insertTag(Tag tag) throws AppBusinessException;

	public void deleteTag(Tag tag) throws AppBusinessException;

	public void updateTag(Tag tag) throws AppBusinessException;

	public List<Tag> getTagList(Map<String, Object> map) throws AppBusinessException;
	
	public List<Tag> getTagByDoorplate(Map<String, Object> map) throws AppBusinessException;
	
	public Integer getTagByDoorplateCount(String doorplate) throws AppBusinessException;
	
}
